Class D switching amplifier and method of controlling a loudspeaker

ABSTRACT

A switching amplifier includes a first half-bridge PWM modulator, a second half-bridge PWM modulator, and at least one amplifier stage configured to receive input signals. The switching amplifier also includes a PWM control stage configured to control switching of the first PWM modulator and of the second PWM modulator as a function of the input signals, by respective first PWM control signals and second PWM control signals. The amplifier stage and the PWM control stage have a fully differential structure.

FIELD OF THE INVENTION

The present disclosure relates to a class D switching amplifier and to a method of controlling a loudspeaker for use in audio applications.

BACKGROUND

As is known, some widespread types of amplifiers, for example class D audio amplifiers, exploit full-bridge converter stages in order to maximize the dynamics of the output voltages that may be supplied to the load, maintaining high efficiency.

A full-bridge converter stage of an audio amplifier is based upon two half-bridge circuits, which may be controlled separately, albeit in a coordinated way, by respective distinct driving stages. This type of technology affords in fact a satisfactory flexibility of use. For instance, it is possible to implement pulse width modulation (PWM) techniques, both in phase and in phase opposition.

The driving stages have the same structure and receive at input signals in phase opposition that are used for controlling the respective half-bridge circuits symmetrically.

A limit of known amplifiers that are based upon independent driving stages is represented by the rejection of common-mode disturbance.

Possible defects of symmetry of the two driving stages may easily lead to unbalancing that affects the rejection of supply disturbance and cause so-called “crosstalk” phenomena.

Furthermore, known structures suffer from a certain sensitivity to high-frequency noise, which is typical of analog-to-digital converters of a sigma-delta type, which are frequently used upstream of the stages for driving the final power stages.

Known technology for overcoming the sensitivity to high-frequency disturbance lead on the other hand to an increase in the number of components and, consequently, in the complexity of the amplifiers.

SUMMARY

A switching amplifier includes a first half-bridge PWM modulator, a second half-bridge PWM modulator, and at least one amplifier stage configured to receive input signals. The switching amplifier also includes a PWM control stage configured to control switching of the first PWM modulator and of the second PWM modulator as a function of the input signals, by respective first PWM control signals and second PWM control signals. The amplifier stage and the PWM control stage have a fully differential structure.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the invention, some embodiments thereof will now be described purely by way of non-limiting example with reference to the attached drawings, wherein:

FIG. 1 is a simplified block diagram of an audio system according to the invention;

FIG. 2 is a more detailed block diagram of a switching amplifier according to one embodiment of the present invention, incorporated in the audio system of FIG. 1;

FIG. 3 is a more detailed block diagram of a first component of the switching amplifier of FIG. 2;

FIG. 4 is a more detailed block diagram of a second component of the switching amplifier of FIG. 2;

FIG. 5 is a more detailed block diagram of a third component of the switching amplifier of FIG. 2;

FIG. 6 shows the switching amplifier of FIG. 2 in a different operating configuration;

FIG. 7 is a block diagram of the switching amplifier according to a different embodiment of the present invention;

FIG. 8 is a block diagram of the switching amplifier according to a further embodiment of the present invention; and

FIG. 9 is a block diagram of the switching amplifier according to another embodiment of the present invention.

DETAILED DESCRIPTION

With reference to FIG. 1, an audio system designated as a whole by the number 1 comprises a signal source 2, a reproducer unit 3 and at least one loudspeaker 5.

The signal source 2 is configured to supply audio signals SA. It may, for example, but not exclusively, be a tuner, a stereo or “home theater” system, a cellphone or a reproducer of audio files, such as a module for reproducing audio files incorporated in a smartphone, a tablet, a portable computer, or a personal computer.

The reproducer unit 3 comprises an interface 6, coupled to the signal source 2 and configured to convert the audio signals SA into corresponding input signals I_(IN+), I_(IN−) and an audio amplifier 7, configured to drive the loudspeaker 5 by output signals V_(OUT+), V_(OUT−) as a function of the input signals I_(IN+), I_(IN−).

In one embodiment, the input signals I_(IN+), I_(IN−) and the output signals V_(OUT+), V_(OUT−) are differential signals, for example, respectively, differential currents and differential voltages.

The loudspeaker 5 may, for example, be an element of a set of loudspeakers or an ear-piece of an earphone set.

In one embodiment, the audio amplifier 7 has the structure illustrated in a simplified way in FIG. 2. The audio amplifier 7 is a class D switching amplifier, uses two PWM modulators each based upon a MOSFET half-bridge and has a structure with nested feedback control loops. In greater detail, the audio amplifier 7 comprises a cascaded chain of amplifier stages 8, a PWM control stage 10, a first PWM modulator 11 a, a second PWM modulator 11 b, a differential feedback-control network 12 and a common-mode feedback-control network 13.

The amplifier stages 8, which in FIG. 2 are represented in a simplified way, are of a fully differential type. By convention, it will be understood hereinafter that each fully differential stage or structure has a positive input, a negative input, a positive output, a negative output and a common-mode control network. In particular, the terms “positive” and “negative” are herein to be understood in the sense that a variation to the positive input produces a variation of the same sign on the positive output and a variation of an opposite sign on the negative output. A variation to the negative input produces a variation of the same sign on the negative output and a variation of an opposite sign on the positive output. It is evident that the terms “positive” and “negative” may be exchanged. Furthermore, each fully differential stage or structure has a common-mode control terminal.

The first amplifier stage 8 of the series is coupled to the interface 6 (not illustrated in FIG. 2) for receiving the input signals I_(IN+), I_(IN−). Furthermore, each differential stage 8 has the positive output and the negative output coupled to the positive input and to the negative input of the next amplifier stage 8, respectively.

The last amplifier stage 8 of the series has the positive output and the negative output coupled, respectively, to the positive input and to the negative input of the PWM control stage 10, which has a fully differential structure and is also represented in a simplified way in FIG. 2.

The amplifier stages 8 are further provided with common-mode control networks 14, between the respective outputs and a respective common-mode control terminal 8 a. The common-mode control networks 14 have respective impedances Z_(CM+), Z_(CM−) that may be the same as one another or different, according to the requirements.

As well as being coupled to the outputs of the last amplifier stage 8 of the series, the positive input and the negative input of the PWM control stage 10 are coupled, respectively, to a first reference generator 15 a, for receiving a first reference signal I_(CK+) and to a second reference generator 15 b, for receiving a second reference signal I_(CK−). In one embodiment, the reference signals I_(CK+), I_(CK−) are square-wave currents that have a switching frequency and are integrated by the PWM control stage 10. In a different embodiment (not illustrated), the reference signals may be sawtooth voltages with a frequency equal to the switching frequency supplied directly to the first PWM modulator 11 a and to the second PWM modulator 11 b, respectively. Furthermore, the reference signals I_(CK+), I_(CK−) (whether square-wave or sawtooth) may be supplied in phase opposition for carrying out a modulation of an out-of-phase type, or else in phase, for carrying out a modulation of an in-phase type.

The negative output and the positive output of the PWM control stage 10 are coupled, respectively, to the first PWM modulator 11 a and to the second PWM modulator 11 b and supply, respectively, a first PWM control signal S_(PWM+) and a second PWM control signal S_(PWM−). The first PWM control signal S_(PWM+) and the second PWM control signal S_(PWM−) cause switching, respectively, of the first PWM modulator 11 a and of the second PWM modulator 11 b at the frequency of the reference signals I_(CK+), I_(CK−) and with a duty cycle that is a function of the input signals I_(IN+), I_(IN−).

A first output filter 16 a is connected between an output of the first PWM modulator 11 a and a first output terminal 18 a and comprises a first LC network. A second output filter 16 b is coupled between an output of the second PWM modulator 11 b and a second output terminal 18 b and comprises a second LC network. The loudspeaker 5 is coupled between the outputs 18 a, 18 b and defines a load of the audio amplifier 7.

The differential feedback-control network 12 has: a feedback branch 20 a, having an impedance Z_(D1+), which picks up a feedback signal from the output of the first PWM modulator 11 a (upstream of the first output filter 16 a) and is coupled to the positive input of the PWM control stage 10; a feedback branch 20 b, having an impedance Z_(D1−), which picks up a feedback signal from the output of the second PWM modulator 11 b (upstream of the second output filter 16 b) and is coupled to the negative input of the PWM control stage 10; a plurality of feedback branches 21 a, which have respective impedances Z_(D2+) and are coupled to the first output terminal 18 a (downstream of the first output filter 16 a) and each to the positive input of a respective amplifier stage 8; and a plurality of feedback branches 21 b, which have respective impedances Z_(D2−) and are coupled to the second output terminal 18 b (downstream of the second output filter 16 b) and each to the negative input of a respective amplifier stage 8.

The differential feedback-control network 12 thus provides a nested feedback-loop structure.

The common-mode feedback-control network 13 includes the first PWM modulator 11 a and the second PWM modulator 11 b and is configured to pick up feedback signals between the outputs of the PWM control stage 10 and the output terminals 18 a, 18 b and to supply a common-mode control signal S_(CMFB) to a common-mode control terminal 10 a of the PWM control stage 10, for maintaining a common-mode voltage of the PWM control stage 10 substantially constant.

In one embodiment, the common-mode feedback-control network 13 comprises a clipping control loop 23, an inner control loop 24 and an outer control loop 25.

The clipping control loop 23 has: a branch 23 a, having an impedance Z_(CM1+), between the negative output of the PWM control stage 10 and its common-mode control terminal 10 a; and a branch 23 b, having an impedance Z_(CM1−), between the positive output of the PWM control stage 10 and its common-mode control terminal 10 a. The clipping control loop 23 thus picks up clipping feedback signals S_(FBS+), S_(FBS−) upstream of the PWM modulators 11 a, 11 b.

The inner control loop 24 has: a branch 24 a, having an impedance Z_(CM2+), between the output of the first PWM modulator 11 a and the common-mode control terminal 10 a of the PWM control stage 10; and a branch 24 b, having an impedance Z_(CM2−), between the output of the second PWM modulator 11 b and the common-mode control terminal 10 a. The inner control loop 24 is thus internal to the output filters 16 a, 16 b and picks up inner clipping feedback signals S_(FBI+), S_(FBI−) downstream of the PWM modulators 11 a, 11 b.

The outer control loop 25 has: a branch 25 a, having an impedance Z_(CM3+), between the first output terminal 18 a and the common-mode control terminal 10 a; and a branch 25 b, having an impedance Z_(CM3−), between the second output terminal 18 b and the common-mode control terminal 10 a. The outer control loop 25 is thus external to the output filters 16 a, 16 b and picks up outer clipping feedback signals S_(FBC+), S_(FBC−) downstream both of the PWM modulators 11 a, 11 b and of the output filters 16 a, 16 b.

In the embodiment described and illustrated in FIG. 2, the clipping feedback signals S_(FBS+), S_(FBS−) coincide with the PWM control signals S_(PWM+), S_(PWM−), the inner clipping feedback signals S_(FBI+), S_(FBI−) coincide with the signals supplied by the PWM modulators 11 a, 11 b and the outer clipping feedback signals S_(FBO+), S_(FBO−) coincide with the output signals V_(OUT+), V_(OUT−).

In FIG. 2, possible connections between the branch 23 a and the branch 23 b, between the branch 24 a and the branch 24 b and between the branch 25 a and the branch 25 b are represented schematically by dashed lines.

Consequently, the clipping control loop 23 picks up its own feedback signals between the PWM control stage 10 and the PWM modulators 11 a, 11 b. The inner control loop 24 and the outer control loop 25 pick up the respective feedback signals, respectively, upstream and downstream of the output filters 16 a, 16 b.

The first PWM modulator 11 a and the second PWM modulator 11 b are of the half-bridge type and are driven separately, respectively, by the negative output and the positive output of the PWM control stage 10. As illustrated in FIG. 3, the first PWM modulator 11 a and the second PWM modulator 11 b each comprise: a comparator stage 30 a (30 b), for example a threshold comparator, possibly with hysteresis; and two switches 27 a, 28 a (27 b, 28 b), which are defined by respective MOS transistors and are arranged in series between a supply line 29 and ground and are controlled by the comparator stage 30 a (30 b) through respective driving circuits 31 a, 32 a (31 b, 32 b). The comparator stages 30 a, 30 b have first inputs coupled, respectively, to the negative output and to the positive output of the PWM control stage 10 and second inputs coupled to a reference generator 35, which supplies a constant reference signal. In one embodiment (not illustrated), the reference generator may supply a sawtooth or triangular reference signal. In this case, the reference generators 15 a, 15 b may be omitted.

As already noted (FIG. 2), the first PWM modulator 11 a and the second PWM modulator 11 b are included in the control loops of the common mode of the PWM control stage 10 provided by the common-mode feedback-control network 13.

The fully differential structure of the amplifier stages 8 and of the PWM control stage 10 enables substantial limitation of the possible defects of symmetry, avoiding any unbalancing that might affect rejection of disturbance. Furthermore, thanks to the fully differential structure, maintenance of the sign at each step of the chain of amplifier stages 8 is obtained simply by coupling the positive and negative outputs of one stage to the positive and negative inputs, respectively, of the next stage. There is thus the advantage of a reduced sensitivity to high-frequency disturbance, typical of inverting configurations, without any need to use purposely provided inversion stages for obtaining the correct sign, with benefit in terms of number of components, complexity of construction, area occupied and, ultimately, costs.

The common-mode feedback-control network 13 generally allows to set the common mode of the PWM control stage 10 effectively, enabling, among other things, both to use an in-phase modulation scheme, if desired, and to implement diagnostic techniques that envisage operation in single-ended mode (this aspect will be taken up in greater detail in what follows).

Furthermore, the innermost clipping control loop 23 enables stable maintenance of the common mode also when the input signals I_(IN+), I_(IN−) cause clipping of the PWM modulators 11 a, 11 b (in practice, the duty cycle is constantly forced to 100% or 0%, exhausting the available margin). In this eventuality, the control loops that pick up the feedback signals downstream of the PWM modulators 11 a, 11 b are ineffective because the respective feedback signals remain unchanged despite variations of the input signals I_(IN+), I_(IN−) and, within given intervals, also of the outputs of the PWM control stage 10. In the absence of common-mode control, the common-mode offsets may cause drift of the control signals and exit from the clipping condition of one of the PWM modulators 11 a, 11 b (according to the sign of the offsets), reducing the maximum output power available. In general, operation of the audio amplifier would present anomalies.

The clipping control loop 23, instead, continues to operate properly up to saturation of the PWM control stage 10 and thus with an available swing that is wider than in clipping conditions. The common-mode control of the PWM control stage 10 is thus effective and all the power available may be properly supplied.

The outer control loop 25 picks up its feedback signals downstream of the output filters 16 a, 16 b, which are thus included in the common-mode control structure. The outer control loop 25 thus enables damping of the common-mode resonance of the output filters 16 a, 16 b, whereas the differential-mode resonance is attenuated by the differential feedback-control network 12, as well as by the load present between the output terminals 18 a, 18 b (in this case, the loudspeaker 5).

In one embodiment, the amplifier stages 8 have the structure illustrated in FIG. 4. FIG. 4 shows, by way of example, a single amplifier stage 8. It is, however, understood that what is described hereinafter applies to all the amplifier stages 8 present. In particular, each amplifier stage 8 comprises a fully differential amplifier 40 provided with feedback impedances Z_(FBA+), Z_(FBA−). Input impedances TI_(NA+), TI_(NA−) (not illustrated for simplicity in FIG. 2) are further coupled to the positive and negative inputs of the fully differential amplifier 40. The positive and negative inputs of the fully differential amplifier 40 define, respectively, the positive and negative inputs of the amplifier stage 8. The input impedances TI_(NA+), TI_(NA−), which are arranged in series to respective inputs of the fully differential amplifier 40, for simplicity are not represented in the simplified diagram of FIG. 2. It is understood in any case that the positive and negative outputs of each amplifier stage 8 are coupled, respectively, to the positive and negative inputs of the next amplifier stage 8 of the chain through the input impedances TI_(NA−), TI_(NA+) of the latter. The feedback branches 21 a, 21 b of the differential feedback-control network 12 are coupled to the positive and negative inputs, respectively, of the fully differential amplifier 40. The feedback impedances Z_(FBA+), Z_(FBA−) are arranged the first between the negative input and the positive output and the second between the positive input and the negative output. The outputs and the common-mode control terminal 8 a of the amplifier stage 8 are defined, respectively, by the outputs and by a common-mode control terminal of the fully differential amplifier 40.

FIG. 5 illustrates the structure of the PWM control stage 10 in one embodiment. The PWM control stage 10 comprises a first control amplifier 50 a, a second control amplifier 50 b, input impedances TI_(NC+), TI_(NC−), feedback impedances Z_(FBC+), Z_(FBC−), a low-pass filter 51 and an error amplifier 52.

The first control amplifier 50 a and the second control amplifier 50 b are of the single-terminal type and are coupled symmetrically between the positive and negative inputs and the positive and negative outputs for forming a fully differential structure. More precisely, the input impedances TI_(NC−), TI_(NC+) are coupled in series to first inputs of the same type (for example, inverting inputs), respectively, of the first control amplifier 50 a and of the second control amplifier 50 b, which have the feedback impedances Z_(FBC+), Z_(FBC−) coupled between the same inputs and the respective outputs. The outputs of the first control amplifier 50 a and of the second control amplifier 50 b define, respectively, the negative output and the positive output of the PWM control stage 10. The square-wave reference signals I_(CK+), I_(CK−) are injected, respectively, at input to the first control amplifier 50 a and the second control amplifier 50 b.

The low-pass filter 51 has an input that defines the common-mode control terminal 10 a of the PWM control stage 10 and an output coupled to an input of the error amplifier 52. The error amplifier 52 has a further input, which receives a common-mode reference signal and an output coupled to second inputs of the same type (for example, non-inverting inputs) of the first control amplifier 50 a and of the second control amplifier 50 b, respectively.

The low-pass filter 51 has a cutoff frequency lower than the switching frequency of the reference signals I_(CK+), I_(CK−), for example by at least one decade, and limits the band of the feedback loops defined by the common-mode feedback-control network 13. By virtue of the feedback impedances Z_(FBC+), Z_(FBC−), the inverting inputs of the control amplifiers 50 a, 50 b are kept at the same voltage as the corresponding non-inverting inputs when the reference signals I_(CK+), I_(CK−) are injected. The low-pass filter 51, by limiting the band, prevents the feedback loops defined by the common-mode feedback-control network 13 from reacting to the variations due to oscillations of the reference signals I_(CK+), I_(CK−). In practice, the low-pass filter 51 allows to attenuate and substantially suppress the oscillations at the switching frequency fed back from the common-mode feedback-control network 13 to the common-mode control terminal 10 a. The output of the error amplifier 52 and the inputs of the control amplifiers 50 a, 50 b coupled thereto are not affected by these oscillations and the waveforms on the outputs of the control amplifiers 50 a, 50 b towards the PWM modulators 11 a, 11 b are preserved. This enables operation of the audio amplifier 7 both in in-phase mode and in single-terminal mode (for example, to implement functions of diagnostics of the load) albeit using amplification stages and a PWM control stage with a fully differential structure, which would otherwise not be recommended. The audio amplifier described may consequently be used in a flexible way, in addition to enjoying the benefit of the fully differential structure as regards having low sensitivity to disturbance.

As mentioned, the audio amplifier 7 described may be used in single-terminal mode to implement diagnostic functions for the load. For this purpose, a test signal, for example a voltage, is applied to a load present between the output terminals 18 a, 18 b and the current consequently produced is read, checking whether it remains within a range of values indicating that operation is correct and the load is connected. In class D amplifiers, however, reading of the load current is affected by an error due to the current that flows through the capacitive portion of the LC output filters, in particular if the testing frequency is high. To reduce the reading error, during testing one of the outputs is kept in conditions of rest, i.e., with a substantially zero signal present. The current that flows in the PWM modulator (half-bridge) driven in this way is substantially equal to the current in the load, as described in EP-A-2 048 896, in the name of the present applicant.

The operating conditions referred to above may be obtained in the audio amplifier 7 in the way referred to hereinafter, with reference to FIG. 6. The input signal on one of the inputs of the audio amplifier 7 (for example, the input signal I_(IN−)) is annulled and the common-mode control on the amplifier stage 8 immediately upstream of the PWM control stage 10 is performed through just one of the outputs, for example the negative output. In practice, a portion of the corresponding common-mode control network 14 (for example, the branch Z_(CM+) corresponding to the positive output) is disabled or excluded. Furthermore, the portion of the common-mode feedback-control network 13 corresponding to one of the outputs of the PWM control stage 10 (for example, the branches 23 a, 24 a, 25 a corresponding to the positive output) is excluded or disabled. In this way, control at the common-mode control terminal 10 a is carried out only through the branches 23 b, 24 b, 25 b enabled and the corresponding (negative) output. The voltage offset of this output as a result of the input signal I_(IN+) is reduced, enabling an accurate reading of the current in the load.

Illustrated in FIG. 7 is a different embodiment. In this case, a class D audio amplifier 107 comprises the chain of amplifier stages 8, the PWM control stage 10, the first PWM modulator 11 a, the second PWM modulator 11 b, the differential feedback-control network 12 and the common-mode feedback-control network 13 already described with reference to FIGS. 2-6. Furthermore, the audio amplifier 107 comprises a selective-enabling stage 155 and a clipping-detector stage 156. The selective-enabling stage 155 comprises a first switch 155 a and a second switch 155 b, which are arranged along the branch 23 a and along the branch 23 b, respectively, of the clipping control loop 23 for enabling and disabling alternatively the clipping control loop 23 as a function of the response of the clipping-detector stage 156. More precisely, the first switch 155 a is arranged between the negative output of the PWM control stage 10 and the impedance Z_(CM1+) and the second switch 155 b is arranged between the positive output of the PWM control stage 10 and the impedance Z_(CM1−).

The clipping-detector stage 156 has inputs coupled to the first PWM modulator 11 a and to the second PWM modulator 11 b, respectively and is configured to detect conditions of saturation of one and/or the other, i.e., conditions where the output of the first PWM modulator 11 a and/or of the second PWM modulator 11 b is given by control signals with maximum duty cycle (for example, 100%). An output of the clipping-detector stage 156 simultaneously controls the first switch 155 a and the second switch 155 b by an enable signal S_(EN). In conditions of clipping of the first PWM modulator 11 a and/or of the second PWM modulator 11 b, the clipping-detector stage 156 sets the enable signal S_(EN) to an enabling value, which causes closing of the first switch 155 a and of the second switch 155 b and enables operation of the clipping control loop 23. Instead, in normal operating conditions of the first PWM modulator 11 a and of the second PWM modulator 11 b, the clipping-detector stage 156 sets the enable signal S_(EN) to a disabling value, which causes opening of the first switch 155 a and of the second switch 155 b and inhibits operation of the clipping control loop 23. In this way, the clipping control loop 23 is used exclusively when the remaining portion of the common-mode feedback-control network 13 is not in a condition to guarantee proper common-mode control of the PWM driving stage 10 on account of clipping.

In one embodiment (illustrated in FIG. 8), in an audio amplifier 207 the inner control loop 24 may be missing, for example when the outer control loop 25 has a sufficiently high d.c. gain and is at the same time able to ensure adequate stability.

FIG. 9 shows a further embodiment. In this case, in an audio amplifier 307 the outer control loop 25 is missing and common-mode control of the PWM driving stage 10 is entrusted to the inner control loop 24 in ordinary operating conditions and to the clipping control loop 23 in conditions of clipping of the first PWM modulator 11 a and/or of the second PWM modulator 11 b. Furthermore, as for the inner control loop 24, also the differential feedback-control network 12 may pick up the feedback signals at output from the PWM modulators 11 a, 11 b upstream of the output filters 16 a, 16 b.

Finally, it is evident that modifications and variations may be made to the amplifier and to the method described herein, without thereby departing from the scope of the present invention, as defined in the annexed claims. 

The invention claimed is:
 1. A switching amplifier comprising: a half-bridge first PWM modulator; a half-bridge second PWM modulator; at least one amplifier stage configured to receive input signals; a PWM control stage coupled to the at least one amplifier stage and configured to control switching of the half-bridge first PWM modulator and of the half-bridge second PWM modulator as a function of the input signals by respective first PWM control signals and second PWM control signals; a first output filter coupled to the half-bridge first PWM modulator; a second output filter coupled to the half-bridge second PWM modulator; an inner control loop coupled to outputs of the half-bridge first PWM modulator and of the half-bridge second PWM modulator and configured to pick up respective feedback signals at the outputs, upstream of the first output filter and of the second output filter, respectively; and an outer control loop configured to pick up respective feedback signals downstream of the first output filter and of the second output filter; the at least one amplifier stage and the PWM control stage each have a fully differential structure.
 2. The switching amplifier according to claim 1, wherein the inner and outer control loops define a common-mode feedback-control network configured to maintain a common-mode voltage of the PWM control stage constant.
 3. The switching amplifier according to claim 2, further comprising a first output terminal, and a second output terminal, wherein the PWM control stage has a first differential output coupled to the half-bridge first PWM modulator and configured to supply the first PWM control signals, and a second differential output coupled to the half-bridge second PWM modulator and configured to supply the second PWM control signals.
 4. The switching amplifier according to claim 3, wherein the inner control loop has a respective first branch between the first differential output of the half-bridge first PWM modulator and the PWM control stage, and a respective second branch between the second differential output of the half-bridge second PWM modulator and the PWM control stage.
 5. The switching amplifier according to claim 4, wherein the outer control loop has a respective first branch between the first output filter and the PWM control stage, and a respective second branch between the second output filter and the PWM control stage.
 6. The switching amplifier according to claim 5, wherein the common-mode feedback-control network comprises a clipping control loop configured to pick up respective feedback signals upstream of the half-bridge first PWM modulator and of the half-bridge second PWM modulator.
 7. The switching amplifier according to claim 6, wherein the clipping control loop has a respective first branch between the first differential output and a common-mode control terminal of the PWM control stage, and a respective second branch between the second differential output and the common-mode control terminal of the PWM control stage.
 8. The switching amplifier according to claim 6, further comprising a clipping-detector stage configured to detect conditions of clipping of at least one between the half-bridge first PWM modulator and the half-bridge second PWM modulator, and a selective-enabling stage configured to alternatively enable and disable the clipping control loop as a function of a response of the clipping-detector stage.
 9. The switching amplifier according to claim 8, wherein the selective-enabling stage configured to enable the clipping control loop when at least one between the half-bridge first PWM modulator and the half-bridge second PWM modulator is in clipping conditions and disabling the clipping control loop otherwise.
 10. The switching amplifier according to claim 9, wherein the half-bridge first PWM modulator and the half-bridge second PWM modulator are controlled as a function of a first reference signal and a second reference signal, which have a switching frequency, and comprising a low-pass filter configured to suppress oscillations on the switching frequency fed back from the common-mode feedback-control network to the PWM control stage.
 11. The switching amplifier according to claim 10, wherein the PWM control stage comprises a first control amplifier and a second control amplifier of the single-terminal type, coupled symmetrically between differential inputs and the first and second differential outputs of the PWM control stage to define the fully differential structure and the low-pass filter has an output coupled to respective inputs of the first control amplifier and of the second control amplifier.
 12. The switching amplifier according to claim 1, wherein the at least one amplifier stage has a positive output and a negative output, respectively, connected to a positive input and to a negative input of the PWM control stage.
 13. The switching amplifier according to claim 1, wherein the at least one amplifier stage further comprises a plurality of cascaded amplifier stages, wherein each amplifier stage comprises a positive output and a negative output, respectively, coupled to a positive input and a negative input of an adjacent amplifier stage of the plurality of cascaded amplifier stages.
 14. The switching amplifier according to claim 13, wherein the inner and outer control loops define a differential feedback-control network that defines a nested-loop feedback structure with the plurality of cascaded amplifier stages and the PWM control stage.
 15. An electronic device comprising: a signal source; a loudspeaker; and a switching amplifier coupled between the signal source and the loudspeaker, the switching amplifier comprising: a half-bridge first PWM modulator; a half-bridge second PWM modulator; at least one amplifier stage configured to receive input signals; a PWM control stage coupled to the at least one amplifier stage and configured to control switching of the half-bridge first PWM modulator and of the half-bridge second PWM modulator as a function of the input signals by respective first PWM control signals and second PWM control signals; a first output filter coupled to the half-bridge first PWM modulator; a second output filter coupled to the half-bridge second PWM modulator; an inner control loop coupled to outputs of the half-bridge first PWM modulator and of the half-bridge second PWM modulator and configured to pick up respective feedback signals at the outputs, upstream of the first output filter and of the second output filter, respectively; and an outer control loop configured to pick up respective feedback signals downstream of the first output filter and of the second output filter; the at least one amplifier stage and the PWM control stage each have a fully differential structure.
 16. The electronic device according to claim 15, wherein the inner and outer control loops define a common-mode feedback-control network configured to maintain a common-mode voltage of the PWM control stage constant.
 17. The electronic device according to claim 16, further comprising a first output terminal, and a second output terminal, wherein the PWM control stage has a first differential output coupled to the half-bridge first PWM modulator and configured to supply the first PWM control signals, and a second differential output coupled to the half-bridge second PWM modulator and configured to supply the second PWM control signals.
 18. A method of controlling a loudspeaker, comprising: generating first PWM control signals and second PWM control signals by a switching amplifier as a function of input signals; processing the input signals by at least one amplifier stage and one PWM control stage with a fully differential structure; controlling switching of a first half-bridge PWM modulator and of a second half-bridge PWM modulator by the first PWM control signals and the second PWM control signals, respectively; picking up respective feedback signals at outputs of the half-bridge first PWM modulator and of the half-bridge second PWM modulator, upstream of a first output filter coupled to the half-bridge first PWM modulator and of a second output filter coupled to the half-bridge second PWM modulator; and picking up respective feedback signals downstream of the first output filter and of the second output filter.
 19. The method according to claim 18, further comprising controlling a common-mode voltage of the PWM control stage.
 20. The method according to claim 18, further comprising: annulling one of the input signals; carrying out a common-mode control on the PWM control stage through a first output or a second output of a switching amplifier, and through one of a first output and a second output of the amplifier stage; and detecting a current supplied to a load present between the first output and the second output of the switching amplifier. 